package com.fsu.database.dao;

/**
 * read-only class for information on cast members 
 * @author Bonazza
 *
 */
public class CastMember {

	/**
	 * cast member's name
	 */
	private String name;
	
	/**
	 * cast member's address
	 */
	private String address;
	
	/**
	 * Ctor
	 * @param name
	 * @param address
	 */
	public CastMember(String name, String address) {
		this.name = name;
		this.address = address;
	}
	
	/** Accessor methods */
	public String getName() { return name; }
	public String getAddress() { return address; }
	
	public String toString() {
		return "name: " + name + "\naddress: " + address;
	}
}
